#include "Model.h"

Model::Model()
    {
    m_data = 0.0;
    }

Model::~Model()
    {

    }

void Model::reset()
    {
    double temp = m_data;
    m_data = 0.0;
    this->notifyObserver(temp, m_data);
    }

double Model::getData()
    {
    return m_data;
    }

void Model::setData(double data)
    {
    double temp = m_data;
    m_data = data;
    this->notifyObserver(temp, m_data);
    }
